Skip to content

support local ztm and pgSql#435

Merged
genedna merged 1 commit into
gitmono-dev:mainfrom
wujian0327:main
Jul 3, 2024
Merged

support local ztm and pgSql#435
genedna merged 1 commit into
gitmono-dev:mainfrom
wujian0327:main

Conversation

@wujian0327

Copy link
Copy Markdown
Contributor

how to run a relay server:

  1. start ztm ca, hub, agent
  2. modify the config.toml
  3. run cargo run --bin mega service http --ztm relay

how to run mega server with ztm agent:

  1. run cargo run --bin mega service http --ztm agent --bootstrap-node http://{relay-server}:8001

new relay api:
GET http://{relay-server}:8001/api/v1/node_list
GET http://{relay-server}:8001/api/v1/repo_list
GET http://{relay-server}:8001/api/v1/ping
POST http://{relay-server}:8001/api/v1/repo_provide

if cannot compile the mega
try to install nodejs v20

@vercel

vercel Bot commented Jul 3, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 9:11am

@genedna
genedna added this pull request to the merge queue Jul 3, 2024
Merged via the queue into gitmono-dev:main with commit a632d8a Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants